# -*- coding:utf-8 -*-
from django.http import HttpResponse, HttpResponseRedirect
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
import json
from django.views.decorators.csrf import csrf_exempt



@csrf_exempt
def test_page(request):
    print request.POST
    raw_data = request.POST.get('data')
    data = json.loads(raw_data)
    print data
    return HttpResponse('hello')










































